import requestModel from '@/utils/request-model'
import { useModelStore } from '@/stores/model'

// DMPP 分子性质预测
export const predictDmpp = (smilesArray) => {
  const modelStore = useModelStore()
  return requestModel({
    url: modelStore.modelInfo.serverUrl + '/predict',
    method: 'post',
    headers: { 'Content-Type': 'application/json' },
    data: { smiles: smilesArray }
  })
}